package net.jueb.springStudy.logicB;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

//注册到服务中心
@EnableEurekaClient
//自动发现服务中心的资源
@EnableDiscoveryClient
@SpringBootApplication
public class SpringLogicBApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringLogicBApplication.class, args);
	}
}
